﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>千百意花卉</title>
    <link href="~/BootStrap/bootstrap.min.css" rel="stylesheet" />
    <script src="~/BootStrap/jquery.min.js"></script>
    <script src="~/BootStrap/bootstrap.min.js"></script>
</head>

<body style="background:rgba(0, 0, 0, 0.11)">
    <div>
        <div style="width:1000px;height:600px;margin-left:80px;">
            <h2 style="text-align:center">千百意花卉商城</h2>
            <div style="margin-top:50px;">
                <div style="float:right">
                    @if (@Session["name"] == null)
                    {
                        <a href="/home/Login" id="login">登录</a><a href="/home/register" id="register">注册</a><a href="/Home/MyCar">购物车</a>
                    }
                    else
                    {
                        <span>登录人:</span> <span style="color:#0094ff">@Session["name"]</span><a href="/Home/MyCar">我的购物车</a>
                    }
                </div>
                <a href="#">花卉分类</a>：<select id="Select1">
                    <option>送父母</option>
                    <option>送朋友</option>
                    <option>送爱人</option>
                </select>    &nbsp; &nbsp; &nbsp;
                <select id="Select1">
                    <option>无货但接受预定</option>
                    <option>无货但不接受预定</option>
                    <option>无货但接受预定</option>
                </select>&nbsp;&nbsp;&nbsp;<input id="Button1" type="button" value="搜索" class="btn-primary" style="width:60px;height:25px;" />
            </div><br /><br />
            @{
                foreach (var item in Model)
                {
                    <table class="table table-striped" id="table" style="margin-left:40px; text-align:center; width:16%;display:inline-block">
                        <tr>
                            <td hidden="hidden">@item.Id</td>
                            <td>
                                <input type="image" src="@item.Image" />
                                <br />@item.FlowersName
                                <br />@item.Selling
                                <br />
                                <a href="/Home/IndexDo/@item.Id">加入购物车</a>
                                <a href="">预定</a>
                            </td>
                        </tr>
                    </table>
                }
            }
            <div class="row" style="padding-top:116px;padding-left:300px; float:left">
                <ul class="pagination">
                    <li><a href="#">首页</a></li>
                    <li><a href="#">&laquo;上一页</a></li>
                    <li><a href="#">下一页&raquo;</a></li>
                    <li><a href="#">尾页</a></li>
                </ul>
            </div>
        </div>
    </div>
</body>
</html>
<script>
</script>
